package com.relytosoft.mizar.media.display.api.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 巡航预制点信息数据传输类
 *
 * @author hj
 * @version 1.0
 * @date 2022/4/26 15:59
 * @ClassName CruisePresetDto
 */
@ApiModel("巡航预制点信息数据传输类")
public class CruisePresetDto implements Serializable {

    private static final long serialVersionUID = -7968810311303837655L;
    @ApiModelProperty("预置点索引")
    @NotNull(message = "预置点索引不能为空")
    private Integer presetPointIndex;

    @ApiModelProperty("速度,范围：[1, 40]")
    @NotNull(message = "速度不能为空")
    private Integer speed;

    @ApiModelProperty("停留时间，范围[15,100]")
    @NotNull(message = "停留时间不能为空")
    private Integer standingTime;

    public Integer getPresetPointIndex() {
        return presetPointIndex;
    }

    public void setPresetPointIndex(Integer presetPointIndex) {
        this.presetPointIndex = presetPointIndex;
    }

    public Integer getSpeed() {
        return speed;
    }

    public void setSpeed(Integer speed) {
        this.speed = speed;
    }

    public Integer getStandingTime() {
        return standingTime;
    }

    public void setStandingTime(Integer standingTime) {
        this.standingTime = standingTime;
    }
}
